package com.atguigu.service;

import com.atguigu.pojo.RedisServiceConfig;
import com.atguigu.pojo.Page;

import java.util.List;

public interface RedisServiceConfigService {
    public void addRedisServiceConfig(RedisServiceConfig redisServiceConfig);
    public void updateRedisServiceConfig(RedisServiceConfig redisServiceConfig);
    public void deleteRedisServiceConfigById(String redisServiceConfigId);
    public RedisServiceConfig queryRedisServiceConfigById(String redisServiceConfigId);
    public RedisServiceConfig queryRedisServiceConfigByServiceId(String serviceId);
    public List<RedisServiceConfig> queryRedisServiceConfigs();
    public List<RedisServiceConfig> queryRedisServiceConfigsByPort(String port);
    public Page page(Integer pageNo, Integer pageSize);
}
